package com.sinkdream.cms.service;

import com.sinkdream.cms.model.News;

import java.util.List;

public interface NewsService {
    void publishNews(News news) ;

    List<News> getNewsList();

    News getNewsById(int newsId);

    void updateNews(News news);

    void deleteById(int id);
}
